import 'package:app_route_generator/app_route_generator.dart';
import 'package:example/page_one/test.dart';
import 'package:flutter/material.dart';

@AppRouter('dgg/page_one', receiveRoutePathName: 'routePath')
class PageOne extends StatelessWidget {
  final List<Test> list;
  final Map<String, Test> map;

  PageOne(this.list, this.map);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('PageOne'),
      ),
    );
  }
}
